/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package StringMethod;

/**
 *
 * @author Mizael
 */
public class metodo5 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String g="hola ";
        String d="mundo";
        System.out.println( g.concat(d));
        //este metodo concatena dos cadenas
    }

}
